﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace cmsservice.Common
{
    public class CLogTools
    {
        private static Queue logQue = new Queue();

        public static void AddLog(string page,string method,object obj)
        {
            try
            {
                logQue.Enqueue(obj);
            }
            catch
            {
            }
        }

        public static object GetLog()
        {
            try
            {
                return logQue.Dequeue();
            }
            catch
            {
                return null;
            }
        }
    }
}
